import React from 'react'
import { MyRoutes } from '.'

const NotFound = React.lazy(() => import('@/pages/NotFound'))
const Login = React.lazy(() => import('@/pages/Login'))

const publicRoutes: MyRoutes[] = [
  {
    path: '/login',
    name: '登录页',
    exact: true,
    component: Login,
  },
  {
    path: '/404',
    name: '404',
    component: NotFound,
  },
]

export { publicRoutes }
